﻿using CommunityToolkit.Mvvm.ComponentModel;
using Microsoft.EntityFrameworkCore.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Joins;
using System.Text;
using System.Threading.Tasks;

namespace ProductionLine.Modules.ShareLib.Models {
    public partial class ModbusParams : ObservableObject {
        /// <summary>
        /// 厂房温度
        /// </summary>
        [ObservableProperty]
        private short _plantTemperature;

        /// <summary>
        /// 厂房湿度
        /// </summary>
        [ObservableProperty]
        private short _planHumidity;
        /// <summary>
        /// 计划产量
        /// </summary>
        [ObservableProperty]
        private short _planProduction;

        /// <summary>
        /// 实际产量
        /// </summary>
        [ObservableProperty]
        private short _actualYield;
        /// <summary>
        /// 不良计数
        /// </summary>
        [ObservableProperty]
        private short _badCounting;

        /// <summary>
        /// 生产节拍
        /// </summary>
        [ObservableProperty]
        private short _productionBeats;
        /// <summary>
        /// 累计报警
        /// </summary>
        [ObservableProperty]
        private short _accumulateAlarms;

        /// <summary>
        /// 累计产量
        /// </summary>
        [ObservableProperty]
        private short _cumulativeProduction;










    }
}
